package com.zh.ssmshirofreemarker.mapper;

import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.zh.ssmshirofreemarker.entity.Permission;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ZH
 * @since 2018-07-24
 */
public interface PermissionMapper extends BaseMapper<Permission> {

    public List<Permission> getAllMenu();

    public List<Permission> selectPermissionList(Pagination page,@Param("permission") Permission permission);

    public List<Permission> getAllMenuForJsTree();

}
